package com.ust.app.movie.service;

import java.util.List;

import com.ust.app.movie.entity.Genre;
import com.ust.app.movie.entity.Movie;

public interface MovieService {

	List<Movie> getAllMovies() throws Exception;
	Movie getMovie(int id) throws Exception;
	void addMovie(Movie movie) throws Exception;
	void updateMovie(Movie movie) throws Exception;
	void deleteMovie(Movie movie) throws Exception;
	List<Genre> getAllGenres();
	void deleteMovieById(int id) throws Exception;
	Genre getGenreById(int id) throws Exception;
}
